home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / Traps.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  1.7 KB  |  75 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Traps.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__TRAPS__') = 'UNDEFINED' THEN
  18. __TRAPS__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  22.     include 'ConditionalMacros.a'
  23.     ENDIF
  24.  
  25. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  26. ;
  27. ;         Trap OPWORDS are now defined in each manager    
  28. ;         
  29. ;             Example:
  30. ;            
  31. ;                _GetResource    OPWORD    $A9A0
  32. ;                
  33. ;             is now in the file 'Resources.a'
  34. ;        
  35. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
  36.     IF OLDROUTINENAMES  THEN
  37.  
  38. ;
  39. ;        The following equates are for compatibility with old option bits
  40. ;        
  41. ;            Example:
  42. ;                    _NewPtr, sys        ; old way
  43. ;        
  44. ;        The new way is to use the C name:
  45. ;        
  46. ;            Examle:
  47. ;                    _NewPtrSys            ; new way
  48. ;
  49. ;
  50.  
  51. ;
  52. ; for Device and File Manager routines 
  53. immed                            EQU        $200                ; execute immediately, bypass I/O queue
  54. async                            EQU        $400                ; asynchronous, don't wait for completion
  55. ;
  56. ; for Memory Manager routines 
  57. clear                            EQU        $200
  58. sys                                EQU        $400
  59. ;
  60. ; for string routines 
  61. marks                            EQU        $200                ; set to ignore/strip diacriticals
  62. Case                            EQU        $400                ; set for case sensitivity        
  63. autoPop                            EQU        $400                ; set to pop an extra return address
  64. ;
  65. ; for Get/Set & NGet/NSet TrapAddress 
  66. newTool                            EQU        $600                ; Toolbox trap, under new ordering
  67. newOS                            EQU        $200                ; OS trap, under new ordering
  68. ;
  69. ; for HFS routines 
  70. newHFS                            EQU        $200
  71.  
  72.     ENDIF
  73.     ENDIF ; __TRAPS__
  74.